﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.Common;

namespace W.Purchase.Domain
{
    /// <summary>
    /// 产品信息销售订单表
    /// </summary>
    public class ProductsSales:BaseModel
    {
        /// <summary>
        /// 产品信息销售id
        /// </summary>
        [Key]
        public int ProductsSalesId { get; set; }
        /// <summary>
        /// 销售id
        /// </summary>
        public int? SalesOrdersId { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public string? ProductNo { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? ProductSpec { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? UnitName { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int? ProductsSalesNum { get; set; }
        /// <summary>
        /// 退货数
        /// </summary>
        public int? SaleReturnsNum { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal? ProductsSalesTotal { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? user_id { get; set; }
    }
}
